#第一种：
def above_weight():
    weight_input=eval(input("输入小朋友体重："))
    average=sum(weight_input)/len(weight_input)
    avrage_above=[w for w in weight_input if w > average]
    return avrage_above
a=above_weight()
for e in a:
    print(e,end=" ")
#第二种
# weights_input = input().split(',')
# weights = [float(w) for w in weights_input]
# average = sum(weights) / len(weights)
# above_average = [w for w in weights if w > average]
#
# # 格式化输出，去掉不必要的 .0
# above_average_str = []
# for w in above_average:
#     if w == int(w):
#         above_average_str.append(str(int(w)))
#     else:
#         above_average_str.append(str(w))
#
# # 输出结果
# print(' '.join(above_average_str))

